﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessJobsPageWise
    {
        public List<JobToDisplay> JobToDisplay { get; set; }
       public int PageIndex { get; set; }
       public int PageSize { get; set; }
       public Guid JobseekerID { get; set; }
       public int RecordCount { get; set; }

        public void invoke()
        {
            SelectJobsPageWise jobToDisplay = new SelectJobsPageWise();
            jobToDisplay.JobseekerID = this.JobseekerID;
            jobToDisplay.PageIndex = this.PageIndex;
            jobToDisplay.PageSize = this.PageSize;
            this.JobToDisplay = jobToDisplay.GetJobToDisplay();
            this.RecordCount = jobToDisplay.RecordCount;
        }

    }
}
